package com.flea.hclv.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.flea.hclv.model.entity.HServicePartner;

public interface HServicePartnerMapper {
    int deleteByPrimaryKey(String id);

    int insert(HServicePartner record);

    int insertSelective(HServicePartner record);

    HServicePartner selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HServicePartner record);

    int updateByPrimaryKey(HServicePartner record);

	List<HServicePartner> findByServiceId(@Param("serviceOrgId")String serviceOrgId);

	void saveBatch(@Param("entities")List<HServicePartner> entities);

	void updateBatch(@Param("entities")List<HServicePartner> entities);
}